All Functions of Week 5

setwd

{base}

Set Working Directory

library

{base}

Load an R package

summary

{base}

Obtain summary statistics or detailed regression output

binomial

{base}

Family argument in glm()

predict

{stats}

Predict Probability

filter

{dplyr}

Filter out rows of a data frame according to logical vector

lm

{base}

Fit a linear model

data.frame

{base}

Create a data.frame from vectors

min

{base}

Get minimum of a vector

read.csv

{utils}

Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters

max

{base}

Get maximum of a vector

glm

{base}

Fits generalized linear models

The end!